package model;

import java.util.ArrayList;

public class PosterminalList {
	ArrayList<Posterminal> poss = new ArrayList<Posterminal>();
	private String logs = "";
	private int operationCount = 0;

	public void addPosterminal(Posterminal pos) {
		logs("addPosterminal \n");
		poss.add(pos);		
	}

	public void removePosterminal(Posterminal pos) {
		logs("removePosterminal \n");
		poss.remove(pos);		
	}
	
	public int getPosterminalsCount() {
		return poss.size();
	}

	public String getLogs() {
		return logs;
	} 
	
	public void logs(String logs) {
		operationCount++;
		this.logs += logs;
	}
		
	public int getOperationsCount() {
		return operationCount;
	}
}

